package com.example.springboot.domain.po;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Author：伐柯梦姝
 * @Package：com.example.springboot.domain.po
 * @Project：springboot
 * @name：Activity
 * @Date：2025/2/23 16:51
 * @Filename：Activity
 * @for:
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName("activity")
public class Activity {
       @TableId
       //@GeneratedValue(strategy = GenerationType.IDENTITY)
       private Integer id;
       /**
        * 标题
        */
       @TableField("title")
       private String title;
       /**
        * 详情
        */
       @TableField("content")
       private String content;
       /**
        * 发布时间
        */
       @TableField("time")
       private String time;
       /**
        * 封面图
        */
       @TableField("img")
       private String img;


}
